package com.wbhz.entity;

import java.util.Date;

public class Post {
	private int postId;
	private int postUserId;
	private String postTitle;
	private String postContent;
	private int postTabId;
	private int postReward;// int default 0,
	private String postStatus;// enum('未结贴', '已结贴') not null default '未结贴',
	private String postStick;// enum('未顶置', '已顶置') not null default '未顶置',
	private int postBrowse;// int not null,
	private int postReply;// int not null,
	private int postCollect;// int not null,
	private Date postCreateTime;// date,
	private Date postUpdateTime;// date,
	public int getPostId() {
		return postId;
	}
	public void setPostId(int postId) {
		this.postId = postId;
	}
	public int getPostUserId() {
		return postUserId;
	}
	public void setPostUserId(int postUserId) {
		this.postUserId = postUserId;
	}
	public String getPostTitle() {
		return postTitle;
	}
	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}
	public String getPostContent() {
		return postContent;
	}
	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}
	public int getPostTabId() {
		return postTabId;
	}
	public void setPostTabId(int postTabId) {
		this.postTabId = postTabId;
	}
	public int getPostReward() {
		return postReward;
	}
	public void setPostReward(int postReward) {
		this.postReward = postReward;
	}
	public String getPostStatus() {
		return postStatus;
	}
	public void setPostStatus(String postStatus) {
		this.postStatus = postStatus;
	}
	public String getPostStick() {
		return postStick;
	}
	public void setPostStick(String postStick) {
		this.postStick = postStick;
	}
	public int getPostBrowse() {
		return postBrowse;
	}
	public void setPostBrowse(int postBrowse) {
		this.postBrowse = postBrowse;
	}
	public int getPostReply() {
		return postReply;
	}
	public void setPostReply(int postReply) {
		this.postReply = postReply;
	}
	public int getPostCollect() {
		return postCollect;
	}
	public void setPostCollect(int postCollect) {
		this.postCollect = postCollect;
	}
	public Date getPostCreateTime() {
		return postCreateTime;
	}
	public void setPostCreateTime(Date postCreateTime) {
		this.postCreateTime = postCreateTime;
	}
	public Date getPostUpdateTime() {
		return postUpdateTime;
	}
	public void setPostUpdateTime(Date postUpdateTime) {
		this.postUpdateTime = postUpdateTime;
	}
	@Override
	public String toString() {
		return "Post [postId=" + postId + ", postUserId=" + postUserId + ", postTitle=" + postTitle + ", postContent="
				+ postContent + ", postTabId=" + postTabId + ", postReward=" + postReward + ", postStatus=" + postStatus
				+ ", postStick=" + postStick + ", postBrowse=" + postBrowse + ", postReply=" + postReply
				+ ", postCollect=" + postCollect + ", postCreateTime=" + postCreateTime + ", postUpdateTime="
				+ postUpdateTime + "]";
	}
	public Post(int postId, int postUserId, String postTitle, String postContent, int postTabId, int postReward,
			String postStatus, String postStick, int postBrowse, int postReply, int postCollect, Date postCreateTime,
			Date postUpdateTime) {
		super();
		this.postId = postId;
		this.postUserId = postUserId;
		this.postTitle = postTitle;
		this.postContent = postContent;
		this.postTabId = postTabId;
		this.postReward = postReward;
		this.postStatus = postStatus;
		this.postStick = postStick;
		this.postBrowse = postBrowse;
		this.postReply = postReply;
		this.postCollect = postCollect;
		this.postCreateTime = postCreateTime;
		this.postUpdateTime = postUpdateTime;
	}
	public Post() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
